<%@ taglib uri="webwork" prefix="webwork" %>
<%@ taglib uri="webwork" prefix="ui" %>
<%@ taglib uri="jiratags" prefix="jira" %>
<%@ taglib uri="sitemesh-page" prefix="page" %>
<html>
<head>
	<title>Jimex Import</title>
</head>
<body>

<page:applyDecorator name="jiraform">
    <page:param name="title">Jimex Import</page:param>
    <page:param name="description"><webwork:text name="'jimeximport.step2.desc'"/></page:param>
    <page:param name="action">JimexImportProjectDetails.jspa</page:param>
    <page:param name="cancelURI">default.jsp</page:param>
    <page:param name="submitName"><webwork:text name="'common.forms.create'"/></page:param>
    <page:param name="multipart">true</page:param>

    <ui:component label="text('issue.field.project')" name="'project/string('name')'" template="textlabel.jsp" />
    <tr>
        <td bgcolor=fffff0 align=right><webwork:text name="'issue.field.issuetype'"/>:</td>
        <td bgcolor=ffffff valign=top>
            <webwork:property value="/constantsManager/issueType(issuetype)" >
                <webwork:component name="'issuetype'" template="constanticon.jsp">
                    <webwork:param name="'contextPath'"><%= request.getContextPath() %></webwork:param>
                    <webwork:param name="'iconurl'" value="./string('iconurl')" />
                    <webwork:param name="'alt'"><webwork:property value="/nameTranslation(.)" /></webwork:param>
                    <webwork:param name="'title'"><webwork:property value="/nameTranslation(.)" /> - <webwork:property value="/descTranslation(.)" /></webwork:param>
                </webwork:component>
                <webwork:property value="/nameTranslation(.)" />
            </webwork:property>
        </td>
    </tr>
    <webwork:component template="issuefields.jsp" name="'createissue'">
        <webwork:param name="'issue'" value="/issueObject"/>
        <webwork:param name="'tabs'" value="/fieldScreenRenderTabs"/>
        <webwork:param name="'errortabs'" value="/tabsWithErrors"/>
        <webwork:param name="'selectedtab'" value="/selectedTab"/>
        <webwork:param name="'ignorefields'" value="/ignoreFieldIds"/>
        <webwork:param name="'create'" value="'true'"/>
    </webwork:component>

    <ui:component name="'pid'" template="hidden.jsp" theme="'single'" />
    <ui:component name="'issuetype'" template="hidden.jsp" theme="'single'" />

    <ui:component label="'Microsoft Project File'" name="'projectXmlFile'" template="filebrowse.jsp">
       <ui:param name="'description'">Please, select Microsoft Project file in XML format
         <a href="#" target="_jirahelp"><img src="<%= request.getContextPath() %>/images/icons/help_blue.gif" width=16 height=16 border=0 alt="Get help!" title="Get online help about file format!"></a>
       </ui:param>
    </ui:component>

    <ui:select label="'Link type'" name="'linkType'" list="linkTypes" listKey="'./id'" listValue="'./name'">
        <ui:param name="'description'">
	Select parent-to-child linking type
	<a href="#" target="_jirahelp"><img src="<%= request.getContextPath() %>/images/icons/help_blue.gif" width=16 height=16 border=0 alt="Get help!" title="Get online help about link types!"></a>
	</ui:param>
    </ui:select>

</page:applyDecorator>
</body>
</html>
